{\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf390
{\fonttbl\f0\fnil\fcharset77 Monaco;\f1\fswiss\fcharset77 Helvetica-Bold;}
{\colortbl;\red255\green255\blue255;\red191\green0\blue0;\red0\green0\blue191;\red96\green96\blue96;
\red0\green115\blue0;}
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural

\f0\fs22 \cf2 // simpleGenerativeSynthdefs.rtf\cf0 \
\cf2 // Macintosh Compiled versions of these are in the folder called synthdefs\cf0 \
\cf2 // A bunch of Synthdefs from the supercollider docs, some modified, some my own...\cf0 \
\cf2 // Some of the below copyright (C) 2003 - 2006 Jonathan Saggau\cf0 \
\cf2 // License: GPL\cf0 \
\cf2 // Others from SC Docs\cf0 \
\cf2 // License: GPL\cf0 \
\cf2 // Still others from SC-users list\cf0 \
\cf2 // License: free\cf0 \
\
(\
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural

\f1\b \cf0 \
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural

\f0\b0 \cf3 SynthDef\cf0 (\cf4 "JASSine"\cf0 ,  \{ \cf3 arg\cf0  out = 0, freq = 440.0, amp = 0.1;\
	\cf3 Out\cf0 .ar(out, \cf3 SinOsc\cf0 .ar(freq, 0, amp));\
\}).writeDefFile;\
\
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural

\fs18 \cf0 \
\cf3 SynthDef\cf0 (\cf4 "JASfilteredDust"\cf0 , \{
\fs22 \cf3 arg\cf0  out = 0;
\fs18 \
	\cf3 Out\cf0 .ar(\
		out,\
		\cf3 Mix\cf0 .arFill(10, \{ \cf3 Resonz\cf0 .ar(\cf3 Dust\cf0 .ar(0.2, 50), \cf3 Rand\cf0 (200, 3200), 0.003) \})\
	)\
\}).writeDefFile;
\fs22 \
\
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural
\cf3 SynthDef\cf0 (\cf4 "JASklankThing"\cf0 , \{ \cf3 arg\cf0  out = 0, i_freq = 320, n = 9;\
	\cf3 var\cf0  klank, harm, amp, ring;\
	\
	\cf2 // harmonics\cf0 \
	harm = \cf3 Control\cf0 .names([\cf5 \\harm\cf0 ]).ir(\cf3 Array\cf0 .series(4,1,1));\
	\cf2 // amplitudes\cf0 \
	amp = \cf3 Control\cf0 .names([\cf5 \\amp\cf0 ]).ir(\cf3 Array\cf0 .fill(4,0.05));\
	\cf2 // ring times\cf0 \
	ring = \cf3 Control\cf0 .names([\cf5 \\ring\cf0 ]).ir(\cf3 Array\cf0 .fill(4,1));\
	\
	klank = \cf3 Klank\cf0 .ar(`[harm,amp,ring], \{\cf3 ClipNoise\cf0 .ar(0.003)\}.dup, i_freq);\
	\
	\cf3 Out\cf0 .ar(out, klank);\
\}).writeDefFile;\
\
)}